package com.qf.client;

import com.qf.pojo.respVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "qflive-course",path = "course",fallback = CourseFallbackClients.class)
public interface CourseClients {

    @RequestMapping("/findCourseDetailById/{id}")
    public BaseResp findCourseDetailById(@PathVariable("id")Integer id);
}
